home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000094_news@newsmaster….columbia.edu _Thu Jan 15 15:59:29 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA14399
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 15 Jan 1998 15:59:28 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA19858
for kermit.misc@watsun; Thu, 15 Jan 1998 15:59:27 -0500 (EST)
Path: news.columbia.edu!psinntp!howland.erols.net!news2.chicago.iagnet.net!news1.chicago.iagnet.net!iagnet.net!ftpbox.mot.com!mothost.mot.com!news-in.cig.mot.com!news.ecid.cig.mot.com!merlin!cornellr
From: cornellr@merlin.ecid.cig.mot.com (Robert Cornell)
Newsgroups: comp.protocols.kermit.misc
Subject: stderr under cgi
Date: 15 Jan 1998 11:36:51 GMT
Organization: Motorola Ltd., European Cellular Infrastructure Division
Lines: 26
Distribution: world
Message-ID: <1998Jan15.111432@merlin.ecid.cig.mot.com>
NNTP-Posting-Host: vulture.ecid.cig.mot.com
Xref: news.columbia.edu comp.protocols.kermit.misc:8267
I have a couple of cgi scripts that perform all manner of admin tasks on a pool
of modems. The scripts all work fine, however I always seem to get an error
message if I call kermit from within perl. i.e:
#!/usr/local/bin/kermit
...
...
is OK, but:
#!/usr/local/bin/perl
...
system("/usr/local/bin/kermit -C script.ksc");
gives:
Warning: terminal type unknown: ""
Fullscreen file transfer display disabled.
Is this down to the httpd not having a TERM env variable.
I tried redirecting stderr, assigning \$(TERM), any ideas?
TIA
Robert
--
� Robert Cornell - cornellr@SPAM_MAPS.ecid.cig.mot.com